<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"> 
    <title>Bootstrap 实例 - 边框表格</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row" style="margin-top:10px;">
        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="headingOne">
      <h4 class="panel-title">
        <div role="button" data-parent="#accordion" href="" aria-expanded="true">
            <div class="glyphicon glyphicon-th-list">&nbsp;用户注册</div>
            <a href="{:url('index')}" class="glyphicon" style="float:right;text-decoration:none">&nbsp;返回</a>
        </div>
      </h4>
    </div>
    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel">
      <div class="panel-body">
        <div class="row">
            <div class="col-xs-3"></div>
            <div class="col-xs-6">
                <form method="post" action="add">
                  <div class="form-group">
                    <label for="exampleInputEmail1">用户名:</label>
                    <input type="text" class="form-control" style='width:100%;' name="username" placeholder="">
                  </div>
                  <div class="form-group">
                    <label for="exampleInputPassword1">密码:</label>
                    <input type="password" class="form-control" name="password" placeholder="">
                  </div>
                  <div class="form-group">
                    <label for="exampleInputPassword1">邮箱:</label>
                    <input type="text" class="form-control" name="email" placeholder="">
                  </div>
                  <button type="submit" class="btn btn-primary">确定</button>
                </form>
            </div>
            <div class="col-xs-3"></div>
        </div>
      </div>
    </div>
  </div>
</div>
        
    </div>
</div>
</body>
</html>